<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../../css/mui.min.css" rel="stylesheet" />
		<link href="../../css/publicStyle.css" rel="stylesheet" />
		<style type="text/css">
			.confirmBtn{
				width: 70%;
				margin-left: 15%;
				height: 50px;
				background-color: white;
				color: #24AF96;
				text-align: center;
				line-height: 50px;
				border: solid #24AF96 1px;
				border-radius: 10px;
			}
			textarea{
				margin-top: 10px;
				height: 180px;
				border-radius: 0px;
				border: 0px;
				color: #323232;
			}
		</style>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
		    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		    <h1 id="mui-title" class="mui-title"></h1>
		</header>
		<div class="mui-content">
			<textarea id="textArea"></textarea>
			<div id="confirmBtn" class="confirmBtn"></div>
		</div>
		<script src="../../js/mui.min.js"></script>
		<script type="text/javascript">
			mui.init();
			mui.plusReady(function(){
				baseSetup();
			});
function baseSetup(){
	var self = plus.webview.currentWebview();
	var title = document.getElementById('mui-title');
	title.innerText = self.headTtile;
	var textArea = document.getElementById('textArea');
	textArea.setAttribute('placeholder',self.tip);
	var confirmBtn = document.getElementById('confirmBtn');
	confirmBtn.innerText = self.btnText;
	confirmBtn.addEventListener('tap',function(){
		var self = plus.webview.currentWebview();
		var fatherPageId = self.pageId;
		var applyPatent = plus.webview.getWebviewById(fatherPageId);
		if (applyPatent) {
			applyPatent.evalJS("refuseApply('"+textArea.value+"')");
		}
		mui.back();
	},false);
}
		</script>
	</body>

</html>